<?php

namespace App\Models\Factory\Mongo;

use Illuminate\Database\Eloquent\Factories\HasFactory;
use Jenssegers\Mongodb\Eloquent\Model;

/**
 * 电厂DCS数据对象
 */
class DcsData extends Model
{
    use HasFactory;
    protected $collection = 'history';
    protected $primaryKey = '_id';    //设置id
    protected $fillable = ['tag_name', 'value', 'datetime'];

}
